// 导入数据库
const mysql = require('mysql')

// 创建连接
const db = mysql.createConnection({
    host: 'localhost',
    user: 'root',
    password: 'mysql123',
    database: 'back_system'
})

module.exports = db